<template>
  <div>
    <img :src="arr.dogImgUrl" alt="" />
    <p>
      {{ arr.dogName }}
    </p>
  </div>
</template>

<script>
export default {
  props: ["arr"],
};
</script>

<style scoped>
.pic {
  height: 250px;
  width: 300px;
  border: 2px solid #000;
  text-align: center;
  float: left;
}
img {
  height: 200px;
  width: 100%;
}
p {
  width: 300px;
}
</style>